<%@ page contentType="text/html" %>
<%@ page pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<%@ include file="header.jsp" %>

	<div>
		<h3>Remember your password</h3>
		<p>May be we can help you...</p>
		<div id="notification">
		<%
			String bkup = (String)request.getAttribute("rememberpasswordbackup");
			if(bkup==null){
			  bkup = "";
			}
			String error = (String)request.getAttribute("rememberpassworderror");
			String success = (String)request.getAttribute("rememberpasswordok");
			if(error!=null){
			  %> <p class="ui-state-error"><%= error %></p> <%
			}
			if(success!=null){
			  %> <p class="ui-state-highlight"><%= success %></p> <%
			}
		%>
		</div>
		<form method="POST" action="rememberPassword" class="botones">
			<table>
					<td>Please enter your username:</td>
					<td><input name="username" type="text" value="<%= bkup %>"/></td>
				</tr>
				<tr>
					<td></td>
					<td><input name="ok" type="submit" value="Send it!"></td>
				</tr>
			</table>
		</form>
	</div>

<%@ include file="footer.jsp" %>